package com.salemanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.three.core.entity.UserBalanceLog;
import com.three.core.entity.UserIntegralLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
* @author liuliyuan
* @description 针对表【tb_user_integral_log(积分记录表详情)】的数据库操作Mapper
* @createDate 2025-03-19 11:50:48
* @Entity com.lly.entity.UserIntegralLog
*/
@Mapper
public interface UserIntegralLogMapper extends BaseMapper<UserIntegralLog> {
    int insertLog(@Param("userId") Integer userId, @Param("totalIntegral") BigDecimal totalIntegral, @Param("storeId") Integer storeId);
}
